package org.dingyom.gift.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 登陆信息
 */
@Data
public class LoginDto {
    @NotBlank(message = "非法参数")
    private String username;
    @NotBlank(message = "非法参数")
    private String password;
    @NotNull(message = "非法参数")
    private Integer type;
}
